					<script>
function delall()
{
	if(confirm("Bạn có chắc chắn muốn xóa tất cả RSS này?"))
		location.href='{$smarty.const.base_admin}?act=rsslogs&del=all';
}
</script>	<!-- BEGIN PAGE CONTAINER-->
         <div class="container-fluid">
            <!-- BEGIN PAGE HEADER-->   
            <div class="row-fluid">
               <div class="span12">
                   <!-- BEGIN THEME CUSTOMIZER-->
                   <div id="theme-change" class="hidden-phone">
                       <i class="icon-cogs"></i>
                        <span class="settings">
                            <span class="text">Theme Color:</span>
                            <span class="colors">
                                <span class="color-default" data-style="default"></span>
                                <span class="color-green" data-style="green"></span>
                                <span class="color-gray" data-style="gray"></span>
                                <span class="color-purple" data-style="purple"></span>
                                <span class="color-red" data-style="red"></span>
                            </span>
                        </span>
                   </div>
                   <!-- END THEME CUSTOMIZER-->
                  <!-- BEGIN PAGE TITLE & BREADCRUMB-->
                   <h3 class="page-title">
                     {$nameact}
                   </h3>
                   <ul class="breadcrumb">
                       <li>
                           <a href="#">Home</a>
                           <span class="divider">/</span>
                       </li>
                       <li>
                           <a href="#">Data Table</a>
                           <span class="divider">/</span>
                       </li>
                       <li class="active">
                           Dynamic Table
                       </li>
                       <li class="pull-right search-wrap">
                           <form action="http://thevectorlab.net/metrolab/search_result.html" class="hidden-phone">
                               <div class="input-append search-input-area">
                                   <input class="" id="appendedInputButton" type="text">
                                   <button class="btn" type="button"><i class="icon-search"></i> </button>
                               </div>
                           </form>
                       </li>
                   </ul>
                   <!-- END PAGE TITLE & BREADCRUMB-->
               </div>
            </div>
            <!-- END PAGE HEADER-->
            <!-- BEGIN ADVANCED TABLE widget-->
            <div class="row-fluid">
                <div class="span12">
                <!-- BEGIN EXAMPLE TABLE widget-->
                <div class="widget red">
                    <div class="widget-title">
                        <h4><i class="icon-reorder"></i> {$nameact}</h4>
                            <span class="tools">
                                <a href="javascript:;" class="icon-chevron-down"></a>
                                <a href="javascript:;" class="icon-remove"></a>
                            </span>
                    </div>
                    <div class="widget-body">
					<div class="clearfix">
                                     <div class="btn-group">
                                         <button id="editable-sample_new" class="btn green"  onclick="delall();">
                                             Xóa Hết Nhật Ký <i class="icon-plus"></i>
                                         </button>
                                     </div>
                                 </div>
								 <div class="space15"></div>
                        <table class="table table-striped table-bordered" id="sample_1">
                            <thead>
                            <tr>
                                <th width=5%>STT</th>
								<th width=45%>Tiêu đề</th>
								<th width=10%>Chuyên Mục</th>
								<th width=10%>Thời Gian</th>
								<th width=20%>RSS</th>
								<th width=10%>Trạng Thái</th>
                            </tr>
                            </thead>
							
                            <tbody>
							<input type=hidden value='{counter start={$start_count} skip=1}'>
						{foreach from=$rsslogs item=rss}
						
					<tr class="odd gradeX">   
							<td >{counter}</td>
							<td>{if $rss.postid ne '0'}<a href="{$rss.link}" target=_blank>{$rss.title}</a>{else}<font color=red><s>{$rss.title}</s></font> {/if}</td>
							<td >{$rss.menu}</td>
							<td >{$rss.time}</td>
							<td >{$rss.rss}</td>
							<td >{if $rss.postid eq '0'} Thất Bại {else} Thành Công{/if}</td>
						</tr>
						{/foreach}
                            </tbody>
                        </table>
						<div class="pagination">
						<span class="pages">Page {$cur_page} of {$total}</span>
						{foreach from=$page item=pg}
							<a href="{$pg.link}" title="{$pg.title}">{$pg.title}</a>
						{/foreach}
					</div>
                    </div>
                </div>
                <!-- END EXAMPLE TABLE widget-->
                </div>
            </div>

            <!-- END ADVANCED TABLE widget-->
         </div>
         <!-- END PAGE CONTAINER-->